cordova.define("com.waiqin365.h5.io.wqio", function(require, exports, module) {
	module.exports = new WqIo();

	var exec = require('cordova/exec');
	var utils = require('cordova/utils');

	function WqIo() {
	}

	WqIo.prototype.downloadFile = function(successCallback,json) {
		exec(successCallback, null, "WqDownloadFile", "wqDownloadFile", [json]);
	}
	WqIo.prototype.getDownloadLength = function(successCallback, json) {
		exec(successCallback, null, "WqDownloadLength", "wqDownloadLength", [json]);
	}
	WqIo.prototype.fileExplorer = function(successCallback ) {
		exec(successCallback, null, "WqFileExplorer", "wqFileExplorer", []);
	}
	WqIo.prototype.openFile = function(successCallback, json) {
		exec(successCallback, null, "WqOpenFile", "wqOpenFile", [json]);
	}
	WqIo.prototype.uploadFile = function( json) {
		exec(null, null, "WqUploadFile", "wqUploadFile", [json]);
	}
	WqIo.prototype.verifyFileHasExist = function(successCallback, json) {
		exec(successCallback, null, "WqVerifyFileHasExist",
				"wqVerifyFileHasExist", [json]);
	}
});